//global variable declarations

unsigned short memory[4096];
unsigned short LB_AC;
unsigned short MQ;
unsigned short PC;
unsigned short IR;
unsigned short MB;
unsigned short CPMA;
unsigned short SR;

//unsigned short inst;

int ANDcount;
int TADcount;
int ISZcount;
int DCAcount;
int JMScount;
int JMPcount;
int IOcount;
int microcount;
int totalInst;
int extraMemCycCount;
int totalCycCount;
int memWriteCount;
int memReadCount;

// Debug parameters
int debug;
int debugparam;
int debugfile;

